
using System.Reflection;

[assembly: AssemblyCompany("")]

namespace StyleCop.For.ReSharper.TestProject.Readability
{
    /// <summary>
    /// Example file for SA1106CodeMustNotContainEmptyStatements.
    /// </summary>
    public class SA1122UseStringEmptyForEmptyStrings
    {
        #region Constants and Fields

        /// <summary>
        /// My Comment for this type.
        /// </summary>
        private const string A = "";

        /// <summary>
        /// My Comment for this type.
        /// </summary>
        private string mystring = "";

        #endregion

        #region Methods

        private bool Method1()
        {
            var s = "";
            var t = string.Empty;

            var a = t.Replace(".", "");
            a = a.Replace("-", "");
            a = a.Replace(" ", "");

            switch (t)
            {
                case "":
                    s = "test";
                    var b = @"";
                    break;
                default:
                    s = "test2";
                    break;
            }

            return true;
        }

        #endregion
    }
}